package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @Desc: 中转商新增
 * @author: renzhikun
 * @Time: 18-12-12 上午9:35
 * @Copyright: ©  杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Data
@ApiModel(description = "中转商新增Dto")
public class BaseTransferAddDTO {

    @ApiModelProperty("中转商编号")
    private Long transferId;

    @NotEmpty(message = "中转商不能为空")
    @ApiModelProperty("中转商全称")
    private String transferName;

    @NotEmpty(message = "联系人不能为空")
    @ApiModelProperty("联系人")
    private String contacts;

    @NotEmpty(message = "联系电话不能为空")
    @ApiModelProperty("联系电话")
    private String telphone;

    @NotNull(message = "省份不能为空")
    @ApiModelProperty("主营路线起点")
    private Integer routeBegin;

    @NotNull(message = "省份不能为空")
    @ApiModelProperty("主营路线终点")
    private Integer routeEnd;

    @NotNull(message = "省份不能为空")
    @ApiModelProperty("省份")
    private Integer provinceId;

    @NotNull(message = "省份不能为空")
    @ApiModelProperty("城市")
    private Integer cityId;

    @NotNull(message = "省份不能为空")
    @ApiModelProperty("县区")
    private Integer countyId;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("网点")
    private String siteId;

    @ApiModelProperty("备注")
    private String remark;
}
